import { PageLifeProbeRequire } from "@/data/settings";
import { StyleMgr } from "../libs/core/styleOperation";

const entry = () => {
  return StyleMgr.add(
    "footerLinerGradient",
    `
    background-image: linear-gradient(#ffffff, #ececec);
    `
  );
};

const module: ModulesConstructure = {
  start: entry,
  name: "footerLinerGradient",
  type: "style",
  optionUI: {
    enable: {
      type: "switch",
      department: "common",
      onActivate: () => {
        return true;
      },
      onDeactivate: () => {
        return false;
      },
    },
  },
  condition: {
    siteMatch: [],
    pageLifeProbeRequire: PageLifeProbeRequire.Head,
  },
};
export default module;
